package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门属性表
 * </p>
 * @author WuZH
 * @since 2024-09-21
 */
@Data
@TableName ("sys_dept_property")
@ApiModel (value = "SysDeptPropertyEntity对象", description = "部门属性表")
public class SysDeptPropertyEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("主键id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("部门id")
    @TableField ("dept_Id")
    private String deptId;

    @ApiModelProperty ("编码")
    @TableField ("code")
    private String code;

    @ApiModelProperty ("名称")
    @TableField ("name")
    private String name;

    @ApiModelProperty ("显示顺序")
    @TableField ("show_num")
    private Integer showNum;

    @ApiModelProperty ("备注")
    @TableField ("remark")
    private String remark;

    @ApiModelProperty ("创建人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("修改人id")
    @TableField ("change_id")
    private String changeId;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @ApiModelProperty ("逻辑删除")
    @TableField ("is_used")
    private Integer isUsed;


}
